﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage1.master" AutoEventWireup="true" CodeFile="member2.aspx.cs" Inherits="member2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="UserID" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowUpdating="GridView1_RowUpdating" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnRowDataBound="GridView1_RowDataBound">
    <Columns>
        <asp:BoundField DataField="UserID" HeaderText="员工号" />
        <asp:BoundField DataField="UserName" HeaderText="姓名" />
        <asp:BoundField DataField="UserPW" HeaderText="密码" />
        <asp:BoundField DataField="UserSex" HeaderText="性别" />
        <asp:BoundField DataField="UserBirthday" HeaderText="出生日期" />
        <asp:CommandField HeaderText="修改" ShowEditButton="True" />
        <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
    </Columns>
</asp:GridView>
    <asp:LinqDataSource ID="ldsCategory" runat="server"  EnableDelete="True" EnableUpdate="True" TableName="Category"></asp:LinqDataSource>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <p>
        <br />
    </p>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

